<template>
  <div class="paper">
    <div class="paper-top">
        <div class="title">小萤星<br>智能论文</div>
    </div>
    <div class="nav-item is-active"> 毕业论文 </div>
    <div class="nav-item"> 毕业论文 </div>
    <div class="nav-item"> 毕业论文 </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
.paper {
    width: 152px;
    padding: 20px 0 50px 0;
    flex-shrink: 0;
    background: #fff;
    box-shadow: 0 0 22px 1px rgba(4,55,130,.1);
    border-radius: 8px 0 0 8px;
    position: relative;
    .paper-top {
        .title{
            text-align: center;
            font-size: 16px;
            color: #217bff;
        }
    }
    .nav-item {
        width: 100%;
        height: 32px;
        background: transparent;
        border-radius: 4px 4px 4px 4px;
        padding-left: 19px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        cursor: pointer;
        margin-top: 8px;
        position: relative;
        line-height: 1;
        transition: all .3s;
        white-space: nowrap;
        &.is-active {
            background: #dae9ff;
            color: #217bff;
            &::before {
                content: "";
                width: 4px;
                height: 22px;
                background: #4892ff;
                border-radius: 0 3px 3px 0;
                position: absolute;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
            }
        }
        
    }
}
</style>